using System;
using System.Collections.Generic;
using System.Text;

namespace Entities
{
    public class tbDonHang
    {
        private int idDH;

        public int IdDH
        {
            get { return idDH; }
            set { idDH = value; }
        }

        private int idKhachHang;

        public int IdKhachHang
        {
            get { return idKhachHang; }
            set { idKhachHang = value; }
        }

        private DateTime ngayDatHang;

        public DateTime NgayDatHang
        {
            get { return ngayDatHang; }
            set { ngayDatHang = value; }
        }

        private int triGia;

        public int TriGia
        {
            get { return triGia; }
            set { triGia = value; }
        }

        private int  idTrangThaiDH;

        public int IdTrangThaiDH
        {
            get { return idTrangThaiDH; }
            set { idTrangThaiDH = value; }
        }

        private DateTime ngayGiaoHang;

        public DateTime NgayGiaoHang
        {
            get { return ngayGiaoHang; }
            set { ngayGiaoHang = value; }
        }

        private String diaChiNhanHang;

        public String DiaChiNhanHang
        {
            get { return diaChiNhanHang; }
            set { diaChiNhanHang = value; }
        }

    }
    public enum tbDonHangColumns
    {
        IdDH,
        IdKhachHang,
        NgayDatHang,
        TriGia,
        IdTrangThaiDH,
        NgayGiaoHang,
        DiaChiNhanHang
    }
    public class tbDonHangCollection : List<tbDonHang> { }
    
    
}
